/**
 * author      : dormi330
 * date        : 2018/6/27
 * project     : mybatis
 * description : TODO
 */

package org.wzq.learn.tmp;

import org.wzq.learn.utils.CommonUtils;

//create table trade_center.foobar
//        (
//        id varchar(32) not null
//        primary key,
//        constraint foobar_id_uindex
//        unique (id)
//        )
//        ;


public class Foobar {
    private String id;

    public Foobar(String id) {
        this.id = id;
    }

    public Foobar() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public static Foobar randomOne() {
        return new Foobar(CommonUtils.uuid());
    }
}
